<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
  import { Indicator, Toast } from 'mint-ui'
export default {
  name: 'App',
  mounted () {
    Indicator.open({
      spinnerType: 'fading-circle'
    })
    this.$nextTick(() =>{
      // 在这里面去获取DOM
      document.getElementsByClassName('mint-indicator-wrapper')[0].style.zIndex = '999';
      Indicator.close();
    })
  }
}
</script>

<style>
html,body,#app {
height: 100%;
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
}
.contant{
  width: 100%;
  overflow: hidden;
}
.h100{
  height: 100%;
}
@media screen and (max-width: 350px) {
 html{
    font-size: 10px;
  }
}
@media screen and (min-width: 350px) and (max-width: 400px) {
  html{
    font-size: 12px;
  }
}
@media screen and (min-width: 400px) {
  html{
    font-size: 14px;
  }
}
</style>
